package com.wxit.gulimall.product.vo;

import com.wxit.gulimall.product.entity.SkuImagesEntity;
import com.wxit.gulimall.product.entity.SkuInfoEntity;
import com.wxit.gulimall.product.entity.SpuInfoDescEntity;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * @author wj
 * @date 2022.03.10 09:40
 */
@Data
public class SkuItemVo {

    //1.sku基本信息的获取  pms_sku_info
    SkuInfoEntity info;

    boolean hasStock = true;

    //2.sku的图片信息  pms_sku_images
    List<SkuImagesEntity> images;

    //3.获取spu的销售属性组合
    List<SkuItemSaleAttrVo> saleAttr;

    //4.获取spu的介绍
    SpuInfoDescEntity desc;

    //5.获取spu的规格参数信息
    List<SpuItemAttrGroupVo> groupAttrs;

    //当前商品的秒杀优惠信息
    SeckillInfoVo seckillInfoVo;
}
